package com.example.design.patterns.冰河.行为模式.命令模式.command;

import com.example.design.patterns.冰河.行为模式.命令模式.receiver.Receiver;

/**
 * Command 声明执行操作的接口
 */
public abstract class Command {
    protected Receiver receiver;

    public Command(Receiver receiver) {
        this.receiver = receiver;
    }

    public abstract void execute();
}
